<div class="wrapper">
	<h3 class="title_wrapper">{$title}</h3>
    <div style="padding:10px;">
        <ul>
        {foreach $posts as $row}
            <li class="news_teach">
                <a href="{Url::anchor("bai-giang/{$row.id}/{String::toUrl($row.name)}")}"><img src="{$row.images}" alt="" /></a>
                <h4><a href="{Url::anchor("bai-giang/{$row.id}/{String::toUrl($row.name)}")}">{$row.name}</a></h4>
                {$row.content_short}
                <div class="clear"></div>
            </li><!--news_teach-->
        {foreachelse}
            <li style="padding:30px 10px;text-align:center">Đang cập nhật...</li>
        {/foreach}
         </ul>
        {if $posts|@count > 0}
        <div class="clear"></div>
        <p class="pagination" align="right">Trang: 
            {if $pagination.prev neq 0}<span><a href="{URL::anchor("bai-giang/{$pagination.prev}")}">&lt;&lt;&lt;</a></span>{/if}
            {foreach $pagination.pages as $page}
                <span>{if $page eq 0}...{elseif $page eq $pagination.current}{$page}{else}<a href="{URL::anchor("bai-giang/{$page}")}">{$page}</a>{/if}</span>
            {/foreach}
            {if $pagination.next neq 0}<span><a href="{URL::anchor("bai-giang/{$pagination.next}")}">&gt;&gt;&gt;</a></span>{/if}
        </p>
        {/if}
    </div>
</div><!--wrapper-->